package com.hz.api.admin.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "api_user_pics")
@TableName("api_user_pics")
@Entity
@Data
public class ApiUserPicsEntity implements Serializable {
    private static final long serialVersionUID = -5922601592848313396L;
    @Id
    @Column(nullable = false)
    private Long id;

    @Column
    private Long userId;

    @Column()
    private String username;

    @Column
    private String fileIndex;

    @Column
    private String filePrefix;

    @Column
    private String fileSize;

    @Column
    private Date modifyTime;

    @Column
    private Date createTime;
}
